- add HC style to slider
- add HC style to Quick settings submenu header
- fix border issue with flat card style
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7320
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
%card_flat {
@extend %card_common;
+ border: 1px solid transparent !important; // override of the button style needed here
@include button(undecorated, $style: flat);
&:hover { @include button(hover, $style: flat);}
&:active { @include button(active, $style: flat);}
/* Date/Time Menu */
// overall menu
-
#calendarArea {
padding: $base_margin;
}
background-color: $selected_bg_color;
color: $selected_fg_color;
}
+
+ // draw hc outline
+ @if $contrast == 'high' {
+ @include draw_hc_inset();
+ &.active {
+ @include draw_hc_inset($no_inset: true);
+ }
+ }
}
& .title {
-slider-handle-radius: $slider_size * 0.5; // half the size of the size
-slider-handle-border-width: 0;
-slider-handle-border-color: transparent; // because 0 width
+
+ // hc style
+ @if $contrast == 'high' {
+ -barlevel-background-color: transparentize($fg_color, 0.6);
+ }
}